<div class="container-fluid" style="padding: 20px 10px 0px 10px">
	<div class="row-fluid">
		<div class="well">
		    <ul class="nav nav-tabs">
		      <li class="active"><b>订单发货</b></li>
		    </ul>
		    <div id="myTabContent" class="tab-content">
				<div class="tab-pane active in" id="home">
					<form id="formid" action="/order/send" method="post">
						<p>当前操作：<select name="" disabled><option value="5">确认发货</option></select></p>
						<p>物流公司：<select name="express_name" >
										<foreach name="express" item="vo">
										<option value="{{$vo}}">{{$vo}}</option>
										</foreach>
									</select>
						</p>
						<p>物流单号：<input name="express" class="input input-medium" placeholder=" 输入发货物流单号" style="width:218px;margin-top:-4px;height: 30px;" /></p>
						<input type="hidden" value="1" name="dosubmit" />
						<input type="hidden" value="<?=I('get.oid')?>" name="id" />
					</form>
				</div>
				<div class="btn-toolbar">
					<?php if($wmsg){?>
					<div style="margin-left:72px;color:red"><?=$wmsg?></div>
					<?php }else{?>
				    <button class="btn btn-primary" style="margin-left:70px;margin-top:15px" id="btn-save"><i class="icon-save"></i> 确认发货</button>
					<?php }?>
				</div>
			</div>
		</div>
	</div>
</div>
<script>
$(function(){
	$('#btn-save').click(function(){
		if(!$('input[name="express"]').val()){
			showmsg('物流单号必填',0);
			$('input[name="express"]').focus();
		}else{
			setBtn($('#btn-save'));
			$('#formid').submit();
		}
	});
})
</script>